package eerbaar.shared.tree.policy;

import eerbaar.shared.internal.tree.policy.MergePolicy;
import eerbaar.shared.internal.tree.policy.SizePolicy;
import eerbaar.shared.internal.tree.policy.UniquePolicy;

public class PolicyFactory {

    private static final MergePolicy MERGE_POLICY = new MergePolicy();

    private static final SizePolicy SIZE_POLICY = new SizePolicy();

    private static final UniquePolicy UNIQUE_POLICY = new UniquePolicy();

    public static IPolicy getMergePolicy() {
        return MERGE_POLICY;
    }

    public static IPolicy getSizePolicy() {
        return SIZE_POLICY;
    }

    public static IPolicy getUniquePolicy() {
        return UNIQUE_POLICY;
    }

}
